package com.ruoyi.passenger.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 乘客管理对象 vehicle_passenger
 * 
 * @author ruoyi
 * @date 2023-06-26
 */
public class VehiclePassenger extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 乘客主键 */
    private Long id;

    /** 乘客姓名 */
    @Excel(name = "乘客姓名")
    private String passengerName;

    /** 乘客手机号 */
    @Excel(name = "乘客手机号")
    private String passengerPhone;

    /** 乘客身份证号 */
    @Excel(name = "乘客身份证号")
    private String passengerIdCard;

    /** 乘客昵称 */
    @Excel(name = "乘客昵称")
    private String nickName;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 安全联系人 */
    @Excel(name = "安全联系人")
    private String secureName;

    /** 安全手机号 */
    @Excel(name = "安全手机号")
    private String securePhone;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateName;

    /** 删除标识 */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPassengerName(String passengerName) 
    {
        this.passengerName = passengerName;
    }

    public String getPassengerName() 
    {
        return passengerName;
    }
    public void setPassengerPhone(String passengerPhone) 
    {
        this.passengerPhone = passengerPhone;
    }

    public String getPassengerPhone() 
    {
        return passengerPhone;
    }
    public void setPassengerIdCard(String passengerIdCard) 
    {
        this.passengerIdCard = passengerIdCard;
    }

    public String getPassengerIdCard() 
    {
        return passengerIdCard;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setSecureName(String secureName) 
    {
        this.secureName = secureName;
    }

    public String getSecureName() 
    {
        return secureName;
    }
    public void setSecurePhone(String securePhone) 
    {
        this.securePhone = securePhone;
    }

    public String getSecurePhone() 
    {
        return securePhone;
    }
    public void setUpdateName(Date updateName) 
    {
        this.updateName = updateName;
    }

    public Date getUpdateName() 
    {
        return updateName;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("passengerName", getPassengerName())
            .append("passengerPhone", getPassengerPhone())
            .append("passengerIdCard", getPassengerIdCard())
            .append("nickName", getNickName())
            .append("sex", getSex())
            .append("createTime", getCreateTime())
            .append("secureName", getSecureName())
            .append("securePhone", getSecurePhone())
            .append("updateName", getUpdateName())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
